Skip to content

JSROOT tests for types/pair and structure/empty - #94

Open
undefined-panda wants to merge 2 commits into
root-project:mainfrom
undefined-panda:jsroot-pair-empty
Open

JSROOT tests for types/pair and structure/empty#94
undefined-panda wants to merge 2 commits into
root-project:mainfrom
undefined-panda:jsroot-pair-empty

Conversation

@undefined-panda

Copy link
Copy Markdown
Collaborator

Add JSROOT read scripts for:

  • types/pair
  • structure/empty

This PR adds the necessary read files that use JSROOT to read the binary files generated by the write.C files in the corresponding ROOT tests.

@hahnjo hahnjo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes LGTM

Comment thread jsroot/jsroot_reader.mjs
Comment on lines +48 to +49
let dict_string =
dict_input.length === 0 ? "[\n]" : JSON.stringify(dict_input, null, 2);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that one is screwed up in the reference file read/6.40.02/6.40.02/structure.empty.json, jq would also format it as []... Let me quickly think if we can do something about that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants